import request from '@/utils/request.js'
import apis from '@/utils/api'
/**
 * @param {Object} params
 * 商品
 */
export function addRole(params) {
    return request.globalRequest(apis.addRole, 'POST', params)
}
export function getRoleList(params) {
    return request.globalRequest(apis.getRoleList, 'POST', params)
}
export function delRole(params) {
    return request.globalRequest(apis.delRole, 'POST', params)
}
export function updateRole(params) {
    return request.globalRequest(apis.updateRole, 'POST', params)
}



export default {
	addRole,
	getRoleList,
	delRole,
	updateRole,
}